package com.example.exceldemo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class MainController {

    @GetMapping("/")
    public String home() {
        // 重定向到文档生成页面
        return "redirect:/docs";
    }
} 